package com.cc.myblog.demo.Common;

import lombok.Data;

/**
 * @author cc
 * @date 2021/7/19 20:31
 * @Description
 */
public enum  ResultCode {
    Requesst_Success(200,"请求成功"),
    Requess_Fail(400,"系统错误，联系管理员");

    private int code;
    private String message;

    ResultCode(int code,String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
